﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PipeUporDown : MonoBehaviour {

    private void OnCollisionEnter(Collision other)
    {
        if (other.gameObject.tag == "Player")
        {
            GameManager.instance.GameState = GameManager.GAMRSTATE_END;
        }
    }
}
